/*
 * @Author: your name
 * @Date: 2022-03-08 21:04:04
 * @LastEditTime: 2022-03-09 16:38:47
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /bradypod/src/router/index.js
 */
import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/home.vue'
import Login from '../views/login.vue'
import About from '../views/about.vue'
import GiteePics from '../views/giteePics.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/login',
    name: 'Login',
    component: Login
  },
  {
    path: '/about',
    name: 'About',
    component: About
  },
  {
    path: '/giteePics',
    name: 'GiteePics',
    component: GiteePics
  }
]

const router = new VueRouter({
  mode: 'history',
  // base: process.env.BASE_URL,
  // base: '/command-center/puc',
  routes
})

export default router